package src.main.java.org.ooppro.staticDemo;

/*
* 系统启动后，要求用户类可以记住自己创建了多少个用户对象
* */
public class staticDemo {
    public static void main(String[] args) {
        User x = new User();
        User user = new User();
        User user1 = new User();
        User user2 = new User();
        System.out.println(User.number);//类变量应用场景
    }
}
